{% extends "base.html" %}

{% block title %}Note {{ note.id }}{% endblock %}

{% block content %}
<h1>A note by {{ note.user.username|escape }}</h1>

<pre>
{{ note.body|escape|wordwrap:89 }}
</pre>

{% ifequal note.user.id user.id %}
<p>This is your note; <a href="/note/{{ note.id }}/edit/">edit it?</a></p>
{% endifequal %}
{% endblock %}